<!DOCTYPE html>

<!-- BEGIN html -->
<html>

    <!-- BEGIN head -->
    <head>
        <?php echo $this->facebook?>
        <!-- Title -->
        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
        
        <!-- Meta tags -->
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=100%; initial-scale=1; minimum-scale=1;" />

        <!-- Favicon -->
        <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />

        <!-- Stylesheets -->
        <link rel="stylesheet" href="<?php echo urlCss(); ?>big/main-stylesheet.css" type="text/css" />
        <!--[if lt IE 9]><link rel="stylesheet" href="<?php echo urlCss(); ?>big/ie678-fix.css" type="text/css" type="text/css" /><![endif]-->
        <!--<link href='http://fonts.googleapis.com/css?family=Open+Sans&subset=latin,vietnamese' rel='stylesheet' type='text/css'>-->
        <link href='http://fonts.googleapis.com/css?family=Lobster|Open+Sans&subset=latin,vietnamese' rel='stylesheet' type='text/css'>

        <!-- JavaScripts -->
        
        <script src="<?php echo urlJs(); ?>jquery.min.js" type="text/javascript"></script>
        

        <!-- END head -->
    </head>
    <body class="top">
        <!-- BEGIN .main-body-wrapper -->
        <div class="main-body-wrapper">

            <!-- BEGIN .main-header -->
            <?php $this->widget('HeaderWidget')?>

            <!-- BEGIN .main-slider -->
            

            <!-- BEGIN .main-content-wrapper -->
            <?php echo $content; ?>
            

                <!-- BEGIN .featured-items -->
                

                
            <div class="clear_footer"></div>
            <!-- BEGIN .main-footer-wrapper -->
            <?php $this->widget('FooterWidget')?>

            <!-- END .main-body-wrapper -->
        </div>
        <script src="<?php echo urlJs(); ?>jquery.placeholder.min.js" type="text/javascript"></script>
        <script src="<?php echo urlJs(); ?>jquery.uniform.js" type="text/javascript"></script>
        <script src="<?php echo urlJs(); ?>jquery.cycle.all.js" type="text/javascript"></script>
        <script src="<?php echo urlJs(); ?>jquery.easing.1.3.js" type="text/javascript"></script>
        <script src="<?php echo urlJs(); ?>jquery.touchwipe.js" type="text/javascript"></script>
        <script src="<?php echo urlJs(); ?>html5shiv.js" type="text/javascript"></script>
        <script src="<?php echo urlJs(); ?>theme.js" type="text/javascript"></script>
        <script>
            $(document).ready(function(){
                $("#sort").live('change',function(){
                    $(this).parents('form').submit();
                });
            });
            
        </script>
            
        <!-- END body -->
    </body>
</html>